package src.com.qf.dao;


import src.com.qf.entity.Address;

import java.sql.SQLException;
import java.util.List;

public interface AddressDao {
    List<Address> selectAddressByUid(Integer uid);

    void updateLevelByUid(Integer uid) throws SQLException;

    int updateLevelById(Integer id);

    int insertAddress(String strName, String strPhone, String strDetail, Integer uid);

    int deleteAddressById(String strId, Integer uid);

    int updateAddressById(String strName, String strPhone, String strDetail, Integer id, Integer uid);

    Address selectAddressById(Integer aid);
}
